package com.netnovelstore.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString
public class BookContent {
    private String bookContent;
    @NotNull(message = "书籍编号不能为空")
    private Integer bookNumber;
    @NotNull(message = "章节编号不能为空")
    private Integer bookContentNumber;

}
